<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>更新用户信息</title>
</head>
<body>
<h1 th:text="${message}"></h1>
<form th:action="@{/user/updateuserinfo}" method="post">
    <label for="id">用户ID:</label>
    <input type="text" id="id" name="id" required><br><br>
    <label for="loginname">登录名:</label>
    <input type="text" id="loginname" name="loginname"><br><br>
    <label for="username">用户名:</label>
    <input type="text" id="username" name="username"><br><br>
    <label for="pwd">密码:</label>
    <input type="password" id="pwd" name="pwd"><br><br>
    <label for="email">邮箱:</label>
    <input type="email" id="email" name="email"><br><br>
    <label for="gender">性别:</label>
    <select id="gender" name="gender">
        <option value="m">Male</option>
        <option value="f">Female</option>
    </select><br><br>
    <button type="submit">重置</button>
</form>
</body>
</html>